﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Chapter14
{
    public partial class Result : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (PreviousPage != null)
            {
                NameValue.Text = PreviousPage.Name;
                CityValue.Text = PreviousPage.City;
                FruitValue.Text = PreviousPage.Fruit;
            }
        }
    }
}